import MessageApi from '@/service/message'

export const readMessage = async (type) => {
  const params = {
    busType: type,
  }
  const { code, result } = await MessageApi.readMessage(params)
  if (code === 200 && result) {
    console.log('Message', result)
  }
}
